package com.zf.yichat.api.dto.request;

import com.zf.yichat.utils.YiChatMsgCode;
import org.hibernate.validator.internal.util.Contracts;

/**
 * 一句话描述功能
 *
 * @author fengsong
 * @date create in 15:35 2020/3/16 2020
 */
public class MissionCancleRequest extends FsRequest {

    private Long missionId;

    public Long getMissionId() {
        return missionId;
    }

    public void setMissionId(Long missionId) {
        this.missionId = missionId;
    }

    @Override
    public void valid() {

        Contracts.assertNotNull(missionId, YiChatMsgCode.SYSTEM_PARAM_ERROR.msg());
    }
}
